<?php
/**
 * Created by PhpStorm.
 * User: PC
 * Date: 2022-07-22
 * Time: 13:35
 */

namespace app\common\order\validate;


use think\Validate;

class OrderPaymentValidate extends Validate
{
    protected $rule = [
        'order_id' => ['require'],
        'apply_date' => ['require'],
        'pay_type_id' => ['require'],
        'total' => ['require'],
    ];

    protected $message = [
        'order_id.require' => '参数错误',
        'apply_date.require' => '请选择期望付款是啊金',
        'pay_type_id.require' => '请选择付款性质',
        'total.require' => '请填写付款金额',
    ];
}